﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Computer_Manager.DTO
{
    class DTO_order_detail
    {
        private int _id_detail_order;

        public int id_detail_order
        {
            get { return _id_detail_order; }
            set { _id_detail_order = value; }
        }

        private int _id_order;

        public int id_order
        {
            get { return _id_order; }
            set { _id_order = value; }
        }

        private int _id_product;

        public int id_product
        {
            get { return _id_product; }
            set { _id_product = value; }
        }

        private int _amount;

        public int amount
        {
            get { return _amount; }
            set { _amount = value; }
        }

        public DTO_order_detail() 
        {
            _id_detail_order = 0;
            _id_order = 0;
            _id_product = 0;
            _amount = 0;
        }
        public DTO_order_detail(int Id_order_detail,int Id_order,int Id_product,int Amount) 
        {
            _id_detail_order = Id_order_detail;
            _id_order = Id_order;
            _id_product = Id_product;
            _amount = Amount;
        }
    }
}
